home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
138
/
138.xpi
/
chrome
/
stumbleupon.jar
/
content
/
positionDialog.xul
< prev
next >
Wrap
Extensible Markup Language
|
2009-12-20
|
2KB
|
67 lines
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<window id="stumble_position_dialog" title="StumbleUpon Toolbar Position"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="init();"
onunload="handle_window_unload();"
style="background-color:white;">
<script type="application/x-javascript">
<![CDATA[
var detail;
function init()
{
detail = window.arguments[0];
detail.result = "cancel-error";
setTimeout(resize, 10);
}
function resize()
{
window.sizeToContent();
}
function handle_button_click(value)
{
detail.result = value;
setTimeout(close, 0);
}
function handle_window_unload()
{
opener.setTimeout(function (parent, detail) { parent.su_handle_position_dialog_close(detail); }, 0, opener, detail);
}
]]>
</script>
<spacer height="10px" style="background-color: white;"/>
<image id="prompt" src="chrome://stumbleupon/content/skin/position_move_it.gif" />
<spacer height="10px" style="background-color: white;"/>
<hbox style="background-color: white;">
<spacer width="255px"/>
<image id="button-yes"
style="cursor:pointer;"
src="chrome://stumbleupon/content/skin/btn_position_move_it.gif"
onclick="handle_button_click('yes');"/>
<spacer flex="1"/>
<vbox>
<spacer flex="1"/>
<label id="button-no"
value="No thanks"
style="color:rgb(84,164,222);cursor:pointer;"
onclick="handle_button_click('no');"/>
<spacer flex="1"/>
</vbox>
<spacer width="15px"/>
</hbox>
<spacer
style="background-color:white;"
height="20px"/>
</window>